﻿using System;

namespace TimeProject.Engine.Security
{
    /// <summary>
    /// Provides metadata for a user role.
    /// </summary>
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
    public class UserRoleMetadataAttribute : Attribute
    {
        /// <summary>
        /// ID
        /// </summary>
        public string Id { set; get; }

        /// <summary>
        /// The user role name.
        /// </summary>
        public string UserRoleName { set; get; }
    }
}
